package io.renren.modules.lanling.dao;

import io.renren.common.utils.Query;
import io.renren.modules.lanling.entity.ExamDatailsEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 考试详情表
 *
 * @author LANLING
 * @email lanling@gmail.com
 * @date 2018-10-24 10:40:05
 */
public interface ExamDatailsDao extends BaseMapper<ExamDatailsEntity> {

    List<ExamDatailsEntity> queryList(Query query);

    Integer queryTotal(Query query);

    void deleteByUserId(@Param("studentId") long studentId);
}
